<?php
return [
    'secret' => \Hyperf\Support\env('JWT_SECRET','jwt_sec'),

    // token的有效时长
    'ttl' => \Hyperf\Support\env('JWT_TTL',7200),

    // 刷新token的有效时长
    'refresh_ttl' => \Hyperf\Support\env('JWT_REFRESH_TTL',86400*14),

    // 加密算法 HS256,MD5
    'alg' => \Hyperf\Support\env('JWT_ALGO', 'HS256'),
];